import { INIT_ORDER } from './mutations-types.js'
export default {
    state: {
        //用户订单号
        orderList: [],
    },
    mutations: {
        //存储用户订单号
        [INIT_ORDER](state, order) {
            state.orderList = order[0].order_id || ''
        }
    }
}